<!DOCTYPE html>
<html>
<head>
	<!-- Required meta tags-->
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, minimal-ui, viewport-fit=cover">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<!-- Color theme for statusbar -->
	<meta name="theme-color" content="#2196f3">
	<title>Fast Clicks</title>
	<link href="https://cdn.bootcss.com/framework7/2.3.1/css/framework7.min.css" rel="stylesheet" />
	<style>
		/* Usual state */
		.my-button {
			color: red;
		}
		/* Active/tapped state */
		.my-button.active-state {
			color: blue;
		}
		.button .ripple-wave {
			background-color: #ff0000;
		}
	</style>
</head>
<body>
<!-- App root element -->
<div id="app">
	<!-- Statusbar overlay -->
	<div class="statusbar"></div>
	<!-- Your main view, should have "view-main" class -->
	<div class="view view-main">
		<!-- Initial Page, "data-name" contains page name -->
		<div class="page">
			<div class="navbar">
				<div class="navbar-inner">
					<!-- In data-sheet attribute we specify CSS selector of sheet we need to open-->
					<div class="title">Fast Clicks</div>
				</div>
			</div>
			<div class="page-content">
				<div class="block-title">no-fastclick Class</div>
				<div class="block">
					<p><a class="sheet-open" href="#" data-sheet=".my-sheet">Fast Click</a></p>
					<p><a class="sheet-open no-fastclick" href="#" data-sheet=".my-sheet">Usual Click</a></p>
					<p><a class="sheet-close" href="#" data-sheet=".my-sheet">Close Sheet</a></p>
				</div>
				<div class="block-title">Tap Hold Event (Long Tap)</div>
				<div class="block">
					<p><a class="sheet-open some-link" href="#" data-sheet=".my-sheet">Some Link</a></p>
				</div>
				<div class="block-title">Touch Ripple</div>
				<div class="block">
					<p>Touch Ripple is supported only in Material Theme</p>
					<p>Ripple Elements</p>
					<p><a class="sheet-open ripple" href="#" data-sheet=".my-sheet">Link With Ripple Effect</a></p>
					<p>Ripple Wave Color</p>
					<p><a class="sheet-open button ripple-color-red" href="#" data-sheet=".my-sheet">Button With Red Ripple</a></p>
					<p>Disable Ripple For Specific Elements</p>
					<p><a class="sheet-open button no-ripple" href="#" data-sheet=".my-sheet">Button Without Ripple Effect</a></p>
				</div>
			</div>
		</div>
		<div class="sheet-modal my-sheet">
			<div class="toolbar">
				<div class="toolbar-inner">
					<div class="left"></div>
					<div class="right"><a class="link sheet-close" href="#">Done</a></div>
				</div>
			</div>
			<div class="sheet-modal-inner">
				<div class="block">
					<h4>Info</h4>
					<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque ac diam ac quam euismod porta vel a nunc. Quisque sodales scelerisque est, at porta justo cursus ac.</p>
				</div>
			</div>
		</div>
	</div>
</div>
<script src="https://cdn.bootcss.com/framework7/2.3.1/js/framework7.min.js"></script>
<script type="text/javascript" src="../js/fast-clicks.js"></script>
</body>
</html>